package com.rockcent.mall.lib.dto;

import java.math.BigDecimal;

/**
 * Created by zhangjh on 2016/12/30.
 */
public class IntegrationCouponReqDto {
    /**
     * 第三方积分兑换平台id
     */
    private String appKey;
    /**
     * 时间戳
     */
    private String timeStamp;
    /**
     * 随机字符串
     */
    private String nonceStr;
    /**
     * 签名算法
     */
    private String signType;
    /**
     * 签名
     */
    private String sign;
    /**
     * 兑换码
     */
    private String exchangeCode;
    /**
     * 兑换码的已兑换次数
     */
    private String exchangeNum;

    /**
     *优惠券类型：coupon:折扣券；cash:现金券
     */
    private String type;

    /**
     * 第三方订单号
     */
    private String orderNo;

    /**
     * 面值
     */
    private BigDecimal faceValue;

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getExchangeCode() {
        return exchangeCode;
    }

    public void setExchangeCode(String exchangeCode) {
        this.exchangeCode = exchangeCode;
    }

    public String getExchangeNum() {
        return exchangeNum;
    }

    public void setExchangeNum(String exchangeNum) {
        this.exchangeNum = exchangeNum;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public BigDecimal getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(BigDecimal faceValue) {
        this.faceValue = faceValue;
    }

    @Override
    public String toString() {
        return "IntegrationCouponReqDto{" +
                "appKey='" + appKey + '\'' +
                ", timeStamp='" + timeStamp + '\'' +
                ", nonceStr='" + nonceStr + '\'' +
                ", signType='" + signType + '\'' +
                ", sign='" + sign + '\'' +
                ", exchangeCode='" + exchangeCode + '\'' +
                ", exchangeNum='" + exchangeNum + '\'' +
                ", type='" + type + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", faceValue=" + faceValue +
                '}';
    }
}
